package com.manager.kudian.system.service;

import com.manager.kudian.common.persistence.HibernateDao;
import com.manager.kudian.common.service.BaseService;
import com.manager.kudian.system.dao.SellerDao;
import com.manager.kudian.system.dao.UsersDao;
import com.manager.kudian.system.entity.Seller;
import com.manager.kudian.system.entity.Users;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by Administrator on 2016/4/14.
 */
@Service
@Transactional(readOnly = true)
public class UsersService extends BaseService<Users, Integer> {

    private static final Logger logger = Logger.getLogger(UsersService.class);

    @Autowired
    private UsersDao usersDao;

    @Override
    public HibernateDao<Users, Integer> getEntityDao() {
        return usersDao;
    }

}
